package com.ruoyi.eqmonitor.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.eqmonitor.domain.OptPatrolRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.eqmonitor.dtos.OptDeviceAlarmDto;
import com.ruoyi.eqmonitor.dtos.OptPatrolRecordDto;

/**
 * @author ruoyi
 * @date 2022-12-05
 */
public interface IOptPatrolRecordService extends IService<OptPatrolRecord>{

    public OptPatrolRecord selectOptPatrolRecordById(Long id);

    public List<OptPatrolRecord> selectOptPatrolRecordList(OptPatrolRecord optPatrolRecord);

    public List<Map<String, Object>> patrolStatistics(OptPatrolRecordDto dto);

    boolean add(OptPatrolRecord optPatrolRecord);
}
